#!/bin/bash

if (test -z "$1")
then
  echo Syntax: lcscrub file-name
  echo ""
  echo Where file-name is usually /etc/logcop.conf
  exit 1
fi
cat $1 | lcscrub.awk | sort > /tmp/lcscrub.txt
mv /tmp/lcscrub.txt $1

